package GUI;

import java.awt.BorderLayout;

import GUI.*;

import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;

import java.awt.Font;
import java.awt.Frame;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.Cursor;
import java.awt.Dialog.ModalExclusionType;

public class TelaInicial extends JFrame {

	private JPanel contentPane;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					TelaInicial frame = new TelaInicial();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public TelaInicial() {
		setModalExclusionType(ModalExclusionType.TOOLKIT_EXCLUDE);
		setResizable(false);
		setTitle("<Programador.Esperto>");
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 799, 599);
		contentPane = new JPanel();
		contentPane.setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JLabel label = new JLabel("<Programador.Esperto>");
		label.setFont(new Font("Lucida Console", Font.PLAIN, 30));
		label.setBounds(171, 145, 378, 31);
		contentPane.add(label);
		
		JLabel lblCliqueAquiPara = new JLabel("Clique Aqui Para Avan\u00E7ar");
		lblCliqueAquiPara.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
		lblCliqueAquiPara.addMouseListener(new MouseAdapter() {

			public void mouseClicked(MouseEvent arg0) {
				MenuInicial frame = new GUI.MenuInicial();
			}
		});
		lblCliqueAquiPara.setFont(new Font("Lucida Console", Font.PLAIN, 11));
		lblCliqueAquiPara.setBounds(293, 545, 178, 14);
		contentPane.add(lblCliqueAquiPara);
	}
}
